package org.ccay.core.ioc;

import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;

/**
 * 负责设置JavaApplicationContext
 * @version:
 */
public class CcayApplicationContextRegister implements ApplicationContextAware {

	public void setApplicationContext(ApplicationContext applicationContext)
			throws BeansException {
		CcayApplicationContext CcayApplicationContext = new CcayApplicationContext(applicationContext);
		Ccay.setContext(CcayApplicationContext);
	}

	

}